package org.fatmansoft.teach.Repository.ViewRepository;

import org.fatmansoft.teach.entity.ViewEntity.StudentCampusCardCost;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StudentCampusCardCostRepository extends JpaRepository<StudentCampusCardCost, Integer> {
    List<StudentCampusCardCost> findStudentCampusCardCostByStudentId(Integer studentNum);

    List<StudentCampusCardCost> findAllByStudentId(Integer studentId);
}
